package cn.iocoder.yudao.module.eval.controller.admin.template.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "管理后台 - 评价模板复制 Request VO")
@Data
public class EvalTemplateCopyReqVO {

    @Schema(description = "源模板ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "源模板ID不能为空")
    private Long id;

    @Schema(description = "新模板代码", example = "TEMPLATE-002")
    @Size(max = 50, message = "新模板代码长度不能超过50个字符")
    private String newTemplateCode;

    @Schema(description = "新模板名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "数控车工理论考试模板（复制）")
    @NotEmpty(message = "新模板名称不能为空")
    @Size(max = 100, message = "新模板名称长度不能超过100个字符")
    private String newTemplateName;

} 